#include <ballade/network/ssl_input_stream.h>

namespace Ballade
{
	namespace Network
	{
		
		SSLInputStream::SSLInputStream(SSL* ssl)
		{
			_ssl = ssl;
		}
		
		const int SSLInputStream::read(char *buf, const int len) const
		{
			return SSL_read(_ssl, buf, len);
		}
	}
}